package com.googlecode.dgwt.client.dijit.view.model;

import com.google.gwt.dom.client.Document;
import com.google.gwt.dom.client.InputElement;
import com.googlecode.dgwt.client.dojo.data.model.StoreColumnBase;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public class RadioBoxSelector<Item> extends CheckBoxSelector<Item> {

    public RadioBoxSelector() {
        super();
    }

    public RadioBoxSelector(String title) {
        super(title);
    }

    public RadioBoxSelector(String title, String width) {
        super(title, width);
    }

    public RadioBoxSelector(StoreColumnBase<Item, ?> column) {
        super(column);
    }

    @Override
    protected InputElement createInputElement() {
        return Document.get().createRadioInputElement(getUniqueId());
    }

}
